Skip to content

Conversation

@soridalac
Copy link
Contributor

What does this PR do?

Issue:
users who are created inside scratch orgs (as System Admin) and authenticated locally were filtered out in org list.

Fix:
Show secondary scratchOrg users with Profile="System Administrator" in org list.

What issues does this PR fix or reference?

@W-20081674@

GH issue: forcedotcom/cli#3439

@iowillhoit
Copy link
Contributor

QA Notes:

  • I created a secondary Sys Admin
  • Logged in as that new user
  • Logged out as the first (default) user
  • Ran org list
  • Ran org list from this PR
  • 🎉
image

@iowillhoit
Copy link
Contributor

Note: I deleted all local auth files to simulate the "from another machine"

@iowillhoit
Copy link
Contributor

If i keep both users logged in, but switch the default, the new code properly shows both users and has the default-user display correctly
image

@iowillhoit iowillhoit merged commit 076f6da into main Jan 13, 2026
13 checks passed
@iowillhoit iowillhoit deleted the sl/W-20081674 branch January 13, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants